package com.zg.scf.domain.vo;

import com.zg.common.core.dao.scf.entity.Company;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;
import java.util.List;
import java.util.Map;

@Data
public class ScfUserVo {
    @ApiModelProperty(value = "用户ID")
    private Long id;

    @ApiModelProperty("数据创建者")
    private String createBy;

    @ApiModelProperty("数据更新者")
    private String updateBy;

    @ApiModelProperty("乐观锁")
    private Integer ver;

    @ApiModelProperty("是否删除")
    private Boolean isDel;

    @ApiModelProperty("查询字符串")
    private String searchStr;

    @ApiModelProperty("数据创建时间")
    private Timestamp createTime;

    @ApiModelProperty("数据更新时间")
    private Timestamp updateTime;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "状态")
    private Boolean isOpen;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "融资企业/金融机构")
    private Company company;

    @ApiModelProperty(value = "角色")
    private List<ScfRoleVo> roleList;
}
